package com.woniuxy.three.pms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.three.pms.bean.RoomBean;

public interface RoomBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoomBean record);

    int insertSelective(RoomBean record);

    RoomBean selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoomBean record);

    int updateByPrimaryKey(RoomBean record);
    
    List<RoomBean> findRoomsByCondition(Integer roomType,Integer RoomStatus,Integer hotalId);
    
    int findRoomNumberByRoomType(Integer roomTypeId);
    
    RoomBean findByRoomNumber(@Param("roomNmuber")String roomNmuber,@Param("hotelId")Integer hotelId);
    
    
}